<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:useBean id="m" class="com.tom.Member" scope="session"></jsp:useBean>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<style type="text/css">
<!--
#top {
	position:absolute;
	width:577px;
	height:36px;
	z-index:1;
	background-color: #CCFFCC;
}
#left {
	position:absolute;
	width:101px;
	height:244px;
	z-index:2;
	left: 12px;
	top: 62px;
	background-color: #FFCCFF;
}
#center {
	position:absolute;
	width:462px;
	height:243px;
	z-index:3;
	left: 125px;
	top: 62px;
	background-color: #FFFFCC;
}
-->
</style>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>首頁</title>
</head>
<body>

<div id="top" align="right" ><c:choose>
		<c:when test="${m.login }">
			<a href="logout.jsp">登出</a>
		</c:when>
		<c:otherwise>
			<a href="login.jsp">登入</a>		
		</c:otherwise>
	</c:choose></div>
<div id="left">
  <p><a href="add_post.jsp" >留言板</a></p>
</div>
<div id="center">
<ul>
		<li><a href="add_post.jsp">新增留言(add_post.jsp)</a></li>
		<li><a href="list2.jsp">留言清單(list2.jsp)</a></li>
		<li><a href="product_list.jsp">產品清單瀏覽</a></li>
	</ul>

</div>

	<br>
	
</body>
</html>
